{include file="header.tpl"}

{$album->descr()}
<br>

<table width="100%" border=0 cellpadding=12 cellspacing=0>
	<tr valign=top>
		{foreach from=$images item=image name=image}
			<td>
				<div>
					<a class="red" href="{thumbnail width=500 height=500} {$image->image()} {/thumbnail}" rel="shadowbox[1]" title='{$image->descr()|strip_tags:false}'>
						<img border=5 src='{thumbnail width=150 height=150} {$image->image()} {/thumbnail}' title='{$image->descr()|strip_tags:false}' />
					</a>
				</div>
				<b>{$image->name()}</b>
			</td>
			{if $smarty.foreach.image.iteration % 3 == 0}
	         </tr>
			   <tr>
			{/if}
		{/foreach}
		{section name=tds start=$smarty.foreach.image.total%3 loop=3}
			<td></td>
		{/section}
	</tr>
</table>

{include file="footer.tpl"}